package org.whale.springcloud.eureka.user.server.application;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
@ComponentScan(basePackages = "org.whale.springcloud.eureka.user.server")
public class EurakeUserServerApplication {

  private static final Logger logger = LoggerFactory.getLogger(EurakeUserServerApplication.class);

  public static void main(String[] args) {
    SpringApplication.run(EurakeUserServerApplication.class, args);

    logger.info("***********user server start*********");
  }
}
